-- GENERATED SPELL FOR [Foreman Swindlegrin] --


function spell0_28186(pUnit, Event) --@Chainsaw Blade,n/a--
pUnit:FullCastSpellOnTarget(36228,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28186', 500, 1)
end

function Sorts_28186(pUnit, Event)
local choix_sorts_28186 = math.random(0, 0)
if choix_sorts_28186 == 0 then
pUnit:RegisterEvent('spell0_28186', 1, 1)
end
end

function mob28186_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28186', math.random(1500, 3000), 1)
end

function mob28186_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28186_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28186_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28186, 1, 'mob28186_Action')
RegisterUnitEvent(28186, 2, 'mob28186_Leave')
RegisterUnitEvent(28186, 3, 'mob28186_Kill')
RegisterUnitEvent(28186, 4, 'mob28186_Die')
